﻿using UnityEngine;
using UnityEngine.UI;
using System.Collections;

public class WinMenuControl : MonoBehaviour 
{
    public Button RestartButton;
    public Button ExitButton;

    void Start()
    {
        RestartButton = RestartButton.GetComponent<Button>();
        ExitButton = ExitButton.GetComponent<Button>();
    }

    public void RestartButton_Press()
    {
        Application.LoadLevel(1);
    }

    public void ExitButton_Press()
    {
        Application.LoadLevel(0);
    }
}
